package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 免费图库收藏对象 gallery_collection
 *
 * @author ruoyi
 * @date 2021-05-19
 */
public class GalleryCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 免费收藏ID */
    private Long collectionId;

    /** 图库ID */
    @Excel(name = "图库ID")
    private Long galleryInfoId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long customerId;

    public void setCollectionId(Long collectionId)
    {
        this.collectionId = collectionId;
    }

    public Long getCollectionId()
    {
        return collectionId;
    }
    public void setGalleryInfoId(Long galleryInfoId)
    {
        this.galleryInfoId = galleryInfoId;
    }

    public Long getGalleryInfoId()
    {
        return galleryInfoId;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("collectionId", getCollectionId())
                .append("galleryInfoId", getGalleryInfoId())
                .append("customerId", getCustomerId())
                .toString();
    }
}